﻿//---------------------------------------------------------------------
// <copyright file="IRecipeRepository.cs" company="Travis Merkel">
//      Copyright (c) Travis Merkel. All Rights Reserved.
//      Information Contained Herein is Proprietary and Confidential.
// </copyright>
// <summary>
// Manages Recipe interactions between the UI and the storage.
// </summary>
// <author>tmerkel</author>
//---------------------------------------------------------------------
namespace RecipeBook.Business.EntityFramework
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Manages Recipe interactions between the UI and the storage.
    /// </summary>
    public interface IRecipeRepository
    {
        /// <summary>
        /// Adds the given recipe to the data store.
        /// </summary>
        /// <param name="recipe">Recipe to add to the data store.</param>
        void Add(Recipe recipe);

        /// <summary>
        /// Gets all the recipes in the data store.
        /// </summary>
        /// <returns></returns>
        IEnumerable<Recipe> GetAll();
    }
}
